Proxmox Update Error https://enterprise.proxmox.com/debian/pve bullseye InRelease 401 Unauthorized [IP: 144.217.225.162 443]

Are you getting this error in Proxmox while trying to apt update or install Ceph?

apt update
Hit:1 http://security.debian.org bullseye-security InRelease
Err:2 https://enterprise.proxmox.com/debian/pve bullseye InRelease             
  401  Unauthorized [IP: 144.217.225.162 443]
Hit:3 http://ftp.hk.debian.org/debian bullseye InRelease                       
Hit:4 http://ftp.hk.debian.org/debian bullseye-updates InRelease
Hit:5 http://download.proxmox.com/debian/ceph-pacific bullseye InRelease
Reading package lists... Done
E: Failed to fetch https://enterprise.proxmox.com/debian/pve/dists/bullseye/InRelease  401  Unauthorized [IP: 144.217.225.162 443]
E: The repository 'https://enterprise.proxmox.com/debian/pve bullseye InRelease' is not signed.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.

 

This error is caused by not having an enterprise Proxmox subscription/license. However, Proxmox can use Free/Testing/Non-Enterprise packages for Ceph.

For older versions of Proxmox like 7.1

This is normally caused by the fact that you don't have an Enterprise Subscription, either update your subscription or comment the Enterprise repo out in /etc/apt/sources.list.d/pve-enterprise.list

Alternatively you can simply just delete /etc/apt/sources.list.d/pve-enterprise.list and you'll be ok.

Here is how /etc/apt/sources.list should look (assuming you are using Bullseye):

deb http://ftp.ca.debian.org/debian bullseye main contrib

deb http://ftp.ca.debian.org/debian bullseye-updates main contrib

# security updates
deb http://security.debian.org bullseye-security main contrib

 

Here is how /etc/apt/sources.list.d/ceph.list should look:

deb http://download.proxmox.com/debian/ceph-pacific bullseye main


 

For newer versions of Proxmox (eg. 8+)

You may also need to enable the no-subscription repo:

https://pve.proxmox.com/wiki/Package_Repositories#sysadmin_enterprise_repo

sources.list for version 8 of Proxmox with no-subscription repo:

deb http://ftp.debian.org/debian bookworm main contrib
deb http://ftp.debian.org/debian bookworm-updates main contrib

# Proxmox VE pve-no-subscription repository provided by proxmox.com,
# NOT recommended for production use
deb http://download.proxmox.com/debian/pve bookworm pve-no-subscription

# security updates
deb http://security.debian.org/debian-security bookworm-security main contrib

Also edit /etc/apt/sources.list.d/ceph.list

deb http://download.proxmox.com/debian/ceph-reef bookworm no-subscription

 



 


Tags:

proxmox, update, https, enterprise, debian, pve, bullseye, inrelease, unauthorized, ip, subscription, repo, etc, apt, sources, http, org, err, ftp, hk, updates, download, ceph, pacific, lists, fetch, dists, repository, updating, securely, disabled, default, manpage, creation, user, configuration,

Latest Articles

  • Cisco Unified Communication Manager (CUCM) - How To Add Phones
  • pptp / pptpd not working in DD-WRT iptables / router
  • systemd-journald high memory usage solution
  • How to Install FreePBX in Linux Debian Ubuntu Mint Guide
  • How To Install Cisco's CUCM (Cisco Unified Communication Manager) 12 Guide
  • Linux Ubuntu Redhat How To Extract Images from PDF
  • Linux and Windows Dual Boot Issue NIC Won't work After Booting Windows
  • Cisco CME How To Enable ACD hunt groups
  • How to install gns3 on Linux Ubuntu Mint
  • How to convert audio for Asterisk .wav format
  • Using Cisco CME Router with Asterisk as a dial-peer
  • Cisco CME How To Configure SIP Trunk VOIP
  • Virtualbox host Only Network Error Failed to save host network interface parameter - Cannot change gateway IP of host only network
  • Cisco CME and C7200 Router Testing and Learning Environment on Ubuntu 20+ Setup Tutorial Guide
  • Abusive IP ranges blacklist
  • How to Install Any OS on a Physical Drive from Windows Using VMware Workstation (Linux, Windows, BSD)
  • CDN Cloudflare how to set and preserve the real IP of the client without modifying application code on Apache
  • CentOS 7 fix Could not retrieve mirrorlist http://mirrorlist.centos.org/?release=7&arch=x86_64&repo=os&infra=container error was 14: curl#6 -
  • Ubuntu Debian How To Install Recommended Packages Automatically
  • How to set Linux Ubuntu Redhat Debian Command Line http https socks proxy for yum apt